package com.blb.dao.user;

import com.blb.pojo.UserAddress;

import java.sql.SQLException;
import java.util.List;

public interface DeliverAddressDao {

    List<UserAddress> selectUserAddress() throws Exception;

    void updateDefault(int id) throws SQLException, ClassNotFoundException;

    void insertAddress(UserAddress address) throws SQLException, ClassNotFoundException;

    List<UserAddress> updateAddressById(String id) throws Exception;
}
